import request from '@/utils/http';
// 员工管理
/** 分页查询人员列表 */
export const getQueryAdmin = (data: object) =>{
  return request.post(`/adminUser/queryAdmin`, data);
};
/** 员工统计 */
export const getAdminBanner = () => {
  return request.post('/adminUser/adminBanner');
};
/** 员工新建 */
export const getadminUserSave = (data: object) => {
  return request.post('/adminUser/save',data);
};
/** 获取详情 */
export const getInfoRequest = (data: object) => {
  return request.post('/adminUser/info',data);
};
/** 编辑 */
export const adminUserEditRequest = (data: object) => {
  return request.post('/adminUser/edit',data);
};
/** 离职 */
export const adminUserSetResignRequest = (data: object) => {
  return request.post('/adminUser/setResign',data);
};
/** 离职继承 */
export const adminUserResignRequest = (data: object) => {
  return request.post('/adminUser/resign',data);
};
/** 启用停用 */
export const adminUserUpdateStatusRequest = (data: object) => {
  return request.post('/adminUser/updateStatus',data);
};
/** 导出 */
export const exportRequest = (data: object) => {
  return request.post('/adminUser/exportAdmin', data);
};
/** 离职继承下拉 */
export const getDoctorRequest = (data: object) => {
  return request.post('/adminUser/getDoctor', data);
};
